package com.rrd.dw.utils;

import java.io.IOException;

public class GetHabaseData {

    public static void main(String[] args) {

        if (args == null || args.length != 5) {
            System.out.println("一个输入正确参数."+args.length);
            for(String str:args){
                System.out.println(str);
            }
            System.exit(-1);
        }
        try {
            HBaseUtil.getByRowKey(args[2],
                HBaseUtil.encodeUserRowkey(args[3], Long.parseLong(args[4])));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
